package com.uff.hmstpa.model.decorator;

public class HomeRideDecorator implements IAppointment {
	
	IAppointment appointment;
	private final double homeRidePrice = 25;
	
	public HomeRideDecorator(IAppointment healthplan) {
		this.appointment = healthplan;
	}

	public double getPrice() {
		return appointment.getPrice() + homeRidePrice;
	}

}
